package net.minecraft.src;
public class BlockDirtPath extends Block {
	public BlockDirtPath(int par1)
	{
		super(par1, Material.ground);

	}
	
	public AxisAlignedBB getCollisionBoundingBoxFromPool(World par1World, int par2, int par3, int par4)
	{
		float var5 = 0.125F;
		return AxisAlignedBB.getAABBPool().getAABB((double)par2, (double)par3, (double)par4, (double)(par2 + 1), (double)((float)(par3 + 1) - var5), (double)(par4 + 1));
	}

	public void onEntityCollidedWithBlock(World par1World, int par2, int par3, int par4, Entity par5Entity)
	{
		if (par5Entity.motionX <= 1.5) {
			par5Entity.motionX *= 1.1D;
		}
		else {
			par5Entity.motionX = 1.5;
		}

		if (par5Entity.motionZ <= 1.5) {
			par5Entity.motionZ *= 1.1D;
		}
		else {
			par5Entity.motionZ = 1.5;
		}

	}
}